package com.huike.report.domain.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Description PageParamsDTO 用来接收分页查询参数
 * @Author moweihua
 * @Date 2023-10-2023/10/17
 */
@Data
public class PageParamsDTO {
    //查询第几页
    public Integer pageNum;

    //每页数量
    public Integer pageSize;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginCreateTime;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endCreateTime;

    //线索id
    public Long id;

    //归属人
    public String owner;

    //归属部门
    private Long deptId;

    private Long post;

}
